<template>
    <district-form :district-id="id"  :district-key="key" :district-title="title"></district-form>
</template>

<script>
    import districtForm from './district_form';

    export default {
        components: {
            districtForm
        },
        data () {
            return {
                id:'',
                key: 'update',
                title: '编辑区域'
            };
        },
        created () {
            this.id = this.$route.params.id || '';
        }
    };
</script>
